package unit2;

public class Ex2_12_BreakLoopDemo {
    public static void main(String[] args) {
        for (int i = 0; i < 100; i++) {
            if (i == 10)
//                continue;
                break; // i为10时 终止循环
            System.out.println("i: " + i);
        }
        System.out.println("循环结束.");
    }
}
